using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class Admin_EditProductDepartmentAndCategory : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    
    {
        HtmlLink objCSS = new HtmlLink();
        objCSS.Attributes.Add("href", "~/style.css");
        objCSS.Attributes.Add("rel", "StyleSheet");
        objCSS.Attributes.Add("type", "text/css");
        Header.Controls.Add(objCSS);
    }
    protected void goBackLink_Click(object sender, EventArgs e)
    {

        Response.Redirect(Request.ApplicationPath + "/Admin/ProductsAdmin.aspx?DepartmentID=" + Request.QueryString["DepartmentID"]
           + "&CategoryID=" + Request.QueryString["CategoryID"]);
    }
    protected void LinkButton1_Click(object sender, EventArgs e)
    {
        Response.Redirect(Request.ApplicationPath + "/Admin/EditProductDepartmentAndCategory.aspx?DepartmentID=" + Request.QueryString["DepartmentID"]
          + "&CategoryID=" + Request.QueryString["CategoryID"] + "&ProductID=" + Request.QueryString["ProductID"]);
    }
    protected void LinkButton2_Click(object sender, EventArgs e)
    {
        Response.Redirect(Request.ApplicationPath + "/Admin/EditProductDepartmentAndCategory.aspx?DepartmentID=" + Request.QueryString["DepartmentID"]
          + "&CategoryID=" + Request.QueryString["CategoryID"] + "&ProductID=" + Request.QueryString["ProductID"]);
    }
    protected void LinkButton3_Click(object sender, EventArgs e)
    {
        Response.Redirect(Request.ApplicationPath + "/Admin/EditProductDepartmentAndCategory.aspx?DepartmentID=" + Request.QueryString["DepartmentID"]
         + "&CategoryID=" + Request.QueryString["CategoryID"] + "&ProductID=" + Request.QueryString["ProductID"]);
    }
}
